package cn.kgc.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author YC
 */
@Data
@ApiModel
public class DeptsUpdateForm implements Serializable {

    /**
     * 主键
     */
    @ApiModelProperty(name = "id", value = "主键", dataType = "java.lang.Inter")
    private Integer id;

    /**
     * 部门名称
     */
    @ApiModelProperty(value = "部门名称", dataType = "java.lang.String")
    private String deptName;

    /**
     * 部门负责人ID
     */
    @ApiModelProperty(value = "部门负责人ID", dataType = "java.lang.Integer")
    private Integer userId;

    /**
     * 版本
     */
    @ApiModelProperty(name = "version", value = "乐观锁", dataType = "int")
    private int version;


}
